package com.atguigu.staservice.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 网站统计日数据
 * </p>
 *
 * @author testjava
 * @since 2020-03-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "StatisticsDaily对象", description = "网站统计日数据")
public class StatisticsDaily implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "统计日期")
    private String dateCalculated;

    @ApiModelProperty(value = "用户注册数量统计")
    private Integer userRegisterNum;
    @ApiModelProperty(value = "普通用户注册数")
    private Integer commonRegisterNum;
    @ApiModelProperty(value = "商家用户注册数")
    private Integer shopRegisterNum;


    @ApiModelProperty(value = "订单创建量")
    private Integer orderCreateNum;

    @ApiModelProperty(value = "订单进行中量")
    private Integer orderRunningNum;

    @ApiModelProperty(value = "订单完成量统计")
    private Integer orderFinishNum;

    @ApiModelProperty(value = "订单总交易额统计")
    private Integer orderFinishmoneyNum;

    @ApiModelProperty(value = "网站利润统计")
    private Integer profitNum;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifiedTime;
}
